home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'AHMTWavePlayer.pas' rev: 3.00
-
- #ifndef AHMTWavePlayerHPP
- #define AHMTWavePlayerHPP
- #include <MMSystem.hpp>
- #include <AHMSystem.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtwaveplayer
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TAHMWavePlayer;
- class PASCALIMPLEMENTATION TAHMWavePlayer : public Ahmsystem::TAHMExecuteComponent
- {
- typedef Ahmsystem::TAHMExecuteComponent inherited;
-
- private:
- System::AnsiString FWaveFile;
- bool FAsynchronously;
- Classes::TNotifyEvent FOnError;
- bool __fastcall PlayWave(const System::AnsiString sndFile, bool Asy);
-
- public:
- bool __fastcall Play(System::AnsiString Filename, bool Async);
- virtual bool __fastcall Execute(void);
- __fastcall virtual TAHMWavePlayer(Classes::TComponent* AOwner);
-
- __published:
- __property System::AnsiString WaveFile = {read=FWaveFile, write=FWaveFile};
- __property bool Asynchronously = {read=FAsynchronously, write=FAsynchronously, default=1};
- __property Classes::TNotifyEvent OnError = {read=FOnError, write=FOnError};
- public:
- /* TComponent.Destroy */ __fastcall virtual ~TAHMWavePlayer(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtwaveplayer */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtwaveplayer;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTWavePlayer
-